
<div class="wrap">
<h2 id="add-new-user">
<?php echo _e("Add New User");

?>
</h2>
<div id="ajax-response"></div>
<p>
<?php
echo _e("Users cannot currently register themselves, but you can manually create users here.");

?>
</p>
<?php
$form = initAddUserForm();
echo $form->start();

?>
<table class="form-table">
<?php
$elements = initAddUserFormElements();
foreach($elements AS $element) {
    if (isset($element) && is_array($element)) {
        echo showFormRow($form, $element);
    } else {
        zeus_do_nothing();
    }
}

?>

<tr class="form-field">
		<th scope="row">
		<label for="role"><?php echo _e("Role");

?></label>
		</th>
		<td>
<?php
$firstentry = _e('Please Select Role...');
$options = getAllPower();
krsort($options);
$options[0] = $firstentry;
$role = array("property" => array("name" => "role"),
    "options" => $options,
    "current" => $_POST['role']);
echo $form->addSelect($role['property'], $role['options'], $role['current']);

?>
</td>
</tr>
</table>
<p class="submit">
<?php
echo $form->addElement("submit", array("name" => "adduser", "id" => "addusersub", "value" => _e("Add New User")));

?>
</p>
<?php
echo $form->end();
$form = null;
unset($form);

?>

</div>